package com.wg.elasticsearch.druid;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@ConfigurationProperties(prefix = "spring.datasource.druid.slave1")
public class DruidSlave1Properties extends DruidProperties {
    private String url;
    private String username;
    private String password;
    private String driverClass;

    private int initialSize;
    private int minIdle;
    private int maxActive;
    private int maxWait;
    private boolean testOnBorrow;
    private boolean testOnReturn;
    private boolean testWhileIdle;
}